package com.yibo.message.service.impl;

import com.yibo.db.message.entity.EmailServerEntity;
import com.yibo.message.service.EmailService;
import com.yibo.message.service.cmd.emailservice.SingleEmailServerCommand;
import org.springframework.stereotype.Service;


/**
 * 邮件服务模块实现
 */
@Service
public class EmailServiceImpl implements EmailService {

    @Override
    public EmailServerEntity emailService() {
        return new SingleEmailServerCommand().execute();
    }
}
